function Player(name,age){
    this.name = name;   // 这里的this类似于python里的self.等于Player的实例对象 pl
    this.age = age;
    return 1;
}
pl = new Player('deda',12);
console.log(pl.name,pl.age);

res = Player('wang',19);
console.log(res);
console.log(name,age);


obj = {    //这里的{}等价于 new Object，即Object 类的实例对象
    name1: "feng 123",
    get_name: function() {

        return this.name1;
    }
}

console.log(obj.get_name());